import {t, api, message, bs} from "@/service/index.js"


export default {
    url: {
        classList: "/agents/classList",
        classEdit: "/agents/classEdit",
        classDel: "/agents/classDel",
        infoList: "/agents/infoList",
        infoEdit: "/agents/infoEdit",
        infoDel: "/agents/infoDel",
        agentsConfig: "/agents/agentsConfig",
    },
    classList(data) {
        return api.post(this.url.classList, data)
    },
    classEdit(data) {
        return api.post(this.url.classEdit, data)
    },
    classDel(data) {
        return api.post(this.url.classDel, data)
    },
    infoList(data) {
        return api.post(this.url.infoList, data)
    },
    infoEdit(data) {
        return api.post(this.url.infoEdit, data)
    },
    infoDel(data) {
        return api.post(this.url.infoDel, data)
    },
    agentsConfig(data) {
        return api.post(this.url.agentsConfig, data)
    }
}